// Z80 SIO interfaces.
// bitrowz 2025/10/25
#pragma once
#include <stdint.h>
#include <stdbool.h>

#define Z80_SIO_CTRL        (0x3E)  // SIO control/status register.
#define Z80_SIO_DATA        (0x3F)  // SIO data register.

// SIO Peripheral interfaces.
void SIO_Init();
void SIO_Read(uint8_t addr, uint8_t* out);
void SIO_Write(uint8_t addr, const uint8_t* in);